<?php
class Silk_Zgb_Block_Page_Topmenu extends Mage_Core_Block_Template
{   
	public function getTopCategorys()
	{
		$cid = 12;
		return Mage::getModel('catalog/category')->load($cid)->getChildrenCategories();
	}

	public function getDrinkcata()
	{
		return Mage::getModel('catalog/category')->load(6);
	}

	public function getWatercata()
	{
		return Mage::getModel('catalog/category')->load(8);
	}

	public function _toHtml()
	{
		$html = apc_fetch('topmenu');
		if($html) return $html;
		$html = parent::_toHtml();
		apc_add('topmenu', $html, 1);
		return apc_fetch('topmenu');
	}
}